gst: Fix synchronization
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Jan 2023 16:56:50 +0000 (11:56 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 30 Jan 2023 17:04:49 +0000 (12:04 -0500)
commit55f7f7d0eecc87e89312a59a04c52654955d7f61
tree27f14c6f48ba1992416c769455d0876d8a6c3d42
parentc43e1f3d0a8ef30146d2085fa2775ebff65ef25b
gst: Fix synchronization

It does not make sense to sync and wait in the
same context, that is just a no-op. The intention
of this code clearly was to sync in the gst
context, and wait in the gdk one.

That also matches what the gtk sink implementation
in gstreamer does.
modules/media/gtkgstsink.c